<!DOCTYPE html>
<html>
<head>
    <title>erp订单信息表</title>
    <#include "/header.html">
    <!--Lodop.js 打印插件-->
    <script src="${request.contextPath}/statics/plugins/Lodop/LodopFuncs.js"></script>
    <script src="${request.contextPath}/statics/plugins/barcode/JsBarcode.all.min.js"></script>
    <script src="${request.contextPath}/statics/plugins/barcode/jquery-barcode.js"></script>
    <!-- 二维码 -->
    <script src="${request.contextPath}/statics/js/qrcode/1.0/jquery.qrcode.min.js"></script>
    <link rel="stylesheet" href="${request.contextPath}/statics/css/erpOrder.css"  type="text/css"/>
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList&&showDetail">
                    <div style="margin-bottom: 15px;">
                        <div style="margin-bottom: 5px">
                            <el-button  type="primary" size="small" @click="add">添加订单</el-button>
                        <template>
                            <el-input placeholder="订单编号" size="small" clearable v-model.trim="q.orderNo" style="width:160px"
                                      @keyup.enter.native="query" @keyup.113.native="openReceviceMoneyQuick" >
                            </el-input>
                        </template>

                            <template>
                            <el-input placeholder="会员名" size="small" clearable  v-model.trim="q.memberName" style="width:100px" @keyup.enter.native="query">
                            </el-input>
                            </template>
                            <template>
                                <el-input placeholder="项目名称" size="small" clearable  v-model.trim="q.projectName" style="width:130px" @keyup.enter.native="query">
                                </el-input>
                            </template>
                            <template>
                                <el-input placeholder="联系人" size="small" clearable  v-model.trim="q.shipName" style="width:130px" @keyup.enter.native="query">
                                </el-input>
                            </template>
                            <template>
                                <el-input placeholder="联系方式" size="small" clearable  v-model.trim="q.shipTel" style="width:130px" @keyup.enter.native="query">
                                </el-input>
                            </template>
                                <template>
                                    <el-select v-model="q.productionStatus" clearable placeholder="订单状态" size="small" style="width:100px">
                                        <el-option
                                                v-for="item in productionStatusEnum"
                                                :key="item.value"
                                                :label="item.label"
                                                :value="item.value">
                                        </el-option>
                                    </el-select>
                                </template>
                                <el-select v-model="q.payStatus" clearable placeholder="付款状态" size="small" style="width:100px">
                                    <el-option
                                            v-for="item in payStatusEnum"
                                            :key="item.value"
                                            :label="item.label"
                                            :value="item.value">
                                    </el-option>
                                </el-select>
                                    <template>
                                        <el-select v-model="q.orderSource" clearable placeholder="来源" size="small" style="width:100px">
                                            <el-option
                                                    v-for="item in orderSourceEnum"
                                                    :key="item.id"
                                                    :label="item.describe"
                                                    :value="item.id">
                                            </el-option>
                                        </el-select>
                                    </template>

                                    <el-date-picker
                                            size="small"
                                            value-format="yyyy-MM-dd HH:mm:ss"
                                            v-model="q.startTime"
                                            type="datetime"
                                            style="width: 180px"
                                            placeholder="下单时间开始">
                                    </el-date-picker>
                                    &nbsp;至&nbsp;
                                    <el-date-picker
                                            size="small"
                                            v-model="q.endTime"
                                            type="datetime"
                                            style="width: 180px"
                                            value-format="yyyy-MM-dd HH:mm:ss"
                                            placeholder="下单时间结束"
                                            default-time="23:59:59">
                                    </el-date-picker>
                           <!-- <el-date-picker
                                    v-model="value4"
                                    type="datetimerange"
                                    align="right"
                                    start-placeholder="开始日期"
                                    end-placeholder="结束日期"
                                    size="small"
                                    style=""
                                    :default-time="['12:00:00', '08:00:00']">
                            </el-date-picker>-->
                            <el-checkbox v-model="q.isCancel">作废订单</el-checkbox>
                            <el-row style="margin-bottom:5px;margin-top: 5px">
                            <el-button  type="primary" @click="query" size="small">查询</el-button>
                            <el-button  type="primary" @click="reset"  size="small">重置</el-button>
                            <#if shiro.hasPermission("order:erporder:money")>
                            <el-button  type="primary" @click="openReceviceMoney"  size="small">收银结算</el-button>
                             </#if>
                            <#if shiro.hasPermission("order:erporder:money")>
                            <el-button  type="primary" @click="openBatchReceviceMoney"  size="small">批量收款</el-button>
                            </#if>
                            <#if shiro.hasPermission("order:erporder:money")>
                            <el-button  type="primary" @click="printBatchPage"  size="small">生成批量结算单</el-button>
                            </#if>
                            <#if shiro.hasPermission("order:erporder:payType")>
                            <el-button  type="primary" @click="openPayment"  size="small">支付方式修改</el-button>
                            </#if>
                            <#if shiro.hasPermission("order:erporder:costBatchEnter")>
                            <el-button  type="primary" @click="batchEnter"  size="small">批量录入</el-button>
                            </#if>
                        </el-row>
                    </div>
                 <table id="jqGrid"></table>
                 <div id="jqGridPager"></div>
                </div>
    </div>
    <div v-show="!showList&&showDetail" class="panel panel-default">
        <!--提交按钮-->
        <!--<div  style="padding: 10px;padding-left: 45%">
            <el-button type="default" size="small" icon="el-icon-back" @click="reload">返回</el-button>
        </div>-->
            <!--主表信息填写-->
            <div class="panel-heading">主要信息
                <i class="el-dialog__close el-icon el-icon-close"   @click="reload" style="float: right;font-size: 20px"></i>
            </div>
            <el-form :inline="true"
                     :model="erpOrder"
                     size="mini"
                     ref="addForm"
                     style="padding: 15px"
                     label-width="100px"
                     class="demo-form-inline">
                <el-form-item label="客户选择"
                              prop="memberName"
                              :rules="[{ required: true, message: '请选中客户', trigger: 'change' }]"
                >
                   <!-- <el-input v-model="erpOrder.memberName" style="width: 180px" placeholder="请选择客户" readonly>
                        <el-button slot="append" icon="el-icon-search" @click="openUserDialog"></el-button>
                    </el-input>-->

                    <el-select
                            v-model="erpOrder.memberName"
                            :disabled="detailData.length===0?false:true"
                            filterable
                            remote
                            clearable
                            reserve-keyword
                            placeholder="请输入客户名称"
                            :remote-method="queryUser"
                            :loading="userLoading"
                            @change="selectUser">
                        <el-option
                                v-for="item in userInfoData"
                                :key="item.userId"
                                :label="item.name"
                                :value="item.userId">
                        </el-option>
                    </el-select>

                </el-form-item>

                <el-form-item label="联系人"
                              prop="shipName"
                              :rules="[{ required: true, message: '请选择联系人', trigger: 'blur' }]"
                >
                    <el-input v-model="erpOrder.shipName" placeholder="联系人"/>
                </el-form-item>

                <el-form-item label="手机" prop="shipTel" :rules="[{ required: true, message: '请输入联系方式', trigger: 'blur' }]">
                    <el-input v-model="erpOrder.shipTel" placeholder="手机"/>
                </el-form-item>

                <el-form-item label="固定电话" prop="shipMobile">
                    <el-input v-model="erpOrder.shipMobile" placeholder="固定电话"/>
                </el-form-item>

                <el-form-item label="接单时间"
                              prop="orderCreatetime"
                              :rules="[{ required: true, message: '请选接单时间', trigger: 'change' }]"
                >
                    <el-date-picker
                            value-format="yyyy-MM-dd HH:mm:ss"
                            style="width: 180px"
                            v-model="erpOrder.orderCreatetime"
                            type="datetime"
                            clearable=false
                            placeholder="选择日期时间"
                    >
                    </el-date-picker>
                </el-form-item>

                <el-form-item label="业务员" prop="merchantsSalesMan">
                    <el-select v-model="erpOrder.merchantsSalesMan" style="width: 180px" filterable placeholder="请选择">
                        <el-option
                                v-for="item in salesManList"
                                :key="item"
                                :label="item"
                                :value="item">
                        </el-option>
                    </el-select>
                </el-form-item>

                <el-form-item label="项目名称" prop="projectName">
                    <el-input v-model="erpOrder.projectName" placeholder="项目名称"/>
                </el-form-item>

                <el-form-item label="接单员" prop="acceptOrderUser">
                    <el-select v-model="erpOrder.acceptOrderUser" style="width: 180px" filterable placeholder="请选择">
                        <el-option
                                v-for="item in acceptOrderUserData"
                                :key="item.username"
                                :label="item.username"
                                :value="item.username">
                        </el-option>
                    </el-select>
                </el-form-item>

                <el-form-item label="送货方式" prop="sendType">
                    <el-select v-model="erpOrder.sendType" style="width: 180px" placeholder="请选择">
                        <el-option
                                v-for="item in sendType"
                                :key="item.value"
                                :label="item.label"
                                :value="item.value">
                        </el-option>
                    </el-select>
                </el-form-item>

                <el-form-item label="可挂账" prop="credit" v-if="credit">
                    <el-switch
                            v-model="erpOrder.onCredit"
                            active-color="#13ce66"
                            inactive-color="#ff4949">
                    </el-switch>
                </el-form-item>

                <el-form-item label="收货地区" prop="shipName">
                    <el-cascader
                            style="width: 180px"
                            @change="handleItemChange"
                            placeholder="试试搜索：武汉市" :options="area" filterable>
                    </el-cascader>
                </el-form-item>

                <el-form-item label="详细地址">
                    <el-input v-model="erpOrder.shipAddr" placeholder="详细地址"/>
                </el-form-item>

                <br>
                <el-form-item label="是否收押金" prop="deposit">
                    <el-switch
                            v-model="erpOrder.deposit"
                            active-color="#13ce66"
                            inactive-color="#ff4949">
                    </el-switch>
                </el-form-item>

                <el-form-item label="押金金额" v-if="erpOrder.deposit" prop="payed">
                    <el-input v-model="erpOrder.payed" placeholder="押金金额"/>
                </el-form-item>

                <el-form-item label="支付方式" v-if="erpOrder.deposit" prop="payment">
                    <el-select v-model="erpOrder.payment" style="width: 180px" filterable placeholder="请选择">
                        <el-option
                                v-for="item in payTypeList"
                                :key="item"
                                :label="item"
                                :value="item">
                        </el-option>
                    </el-select>
                </el-form-item>

                <el-form-item label="备注">
                    <el-input type="textarea" style="width: 600px" :rows="2" placeholder="请输入内容"
                              v-model="erpOrder.memo"></el-input>
                </el-form-item>

            </el-form>
            <!--算价模块-->
            <div class="panel-heading">报价助手</div>
            <zy-calculate-price
                    ref="calculatePrice"
                    :fast = "categoryData.fast"
                    :print = "categoryData.print"
                    :is-edit="false"
                    @zy-add-goods = "zyAddGoods">
            </zy-calculate-price>
        <!--订单详情-->
        <div class="panel-heading">订单详情</div>
        <div style="padding-left: 10px">
            <el-table border :data="detailData" stripe style="width: 100%" size="mini">
                <el-table-column type="expand">
                    <template slot-scope="props" v-if="props.row.productInfoParamList">
                        <el-table
                                size="mini"
                                stripe
                                :data="props.row.productInfoParamList"
                                style="width: 100%">
                            <el-table-column label="部件名称" prop="partsName" align="center" ></el-table-column>
                            <el-table-column label="规格/尺寸/材质/工艺" width="700" prop="basicParamStr" align="center"></el-table-column>
                            <el-table-column label="尺寸" align="center">
                                <template slot-scope="scope" >
                                    <span v-if="props.row.cutModelObj[scope.row.partsId] !=null">
                                        {{props.row.cutModelObj[scope.row.partsId].paperLength}}*
                                        {{props.row.cutModelObj[scope.row.partsId].paperWide}}
                                    </span>
                                </template>
                            </el-table-column>
                            <el-table-column label="印数" align="center">
                                <template slot-scope="scope">
                                    <span v-if="props.row.cutModelObj[scope.row.partsId] !=null">
                                         {{props.row.cutModelObj[scope.row.partsId].printNums[0]}}
                                    </span>
                                </template>
                            </el-table-column>
                            <el-table-column label="印张" align="center">
                                <template slot-scope="scope">
                                    <span v-if="props.row.cutModelObj[scope.row.partsId] !=null">
                                         {{props.row.cutModelObj[scope.row.partsId].printSheets[0]}}
                                    </span>
                                </template>
                            </el-table-column>
                            <el-table-column label="单价" align="center">
                                <template slot-scope="scope">
                                    <span v-if="props.row.cutModelObj[scope.row.partsId] !=null">
                                        {{props.row.cutModelObj[scope.row.partsId].unitPrice}}
                                    </span>
                                </template>
                            </el-table-column>
                            <el-table-column label="起步价" align="center">
                                <template slot-scope="scope">
                                    <span v-if="props.row.cutModelObj[scope.row.partsId] !=null">
                                        {{props.row.cutModelObj[scope.row.partsId].startPrice}}
                                    </span>
                                </template>
                            </el-table-column>
                            <el-table-column label="工艺" prop="craftParamStr" align="center"></el-table-column>
                        </el-table>
                    </template>
                </el-table-column>
                <el-table-column label="商品名称" prop="productName" align="center" width="100">
                </el-table-column>
                <el-table-column  prop="showAddon" label="规格/尺寸/材质/工艺"  align="center">
                </el-table-column>
                </el-table-column>
                <el-table-column prop="quantity" label="数量" width="120" align="center">
                </el-table-column>
                <el-table-column prop="copy" label="款式" width="120" align="center">
                    <template scope="scope">
                         <el-input v-show="scope.row.goodsType=='fast'||scope.row.goodsType=='print'" size="small" @change="changCopy(scope.row)" v-model="scope.row.copy" type="number" min="1"></el-input>
                         <span v-show="scope.row.goodsType!='fast'&&scope.row.goodsType!='print'">{{scope.row.copy}}</span>
                     </template>
                </el-table-column>
                <el-table-column prop="price" label="单价" width="120" align="center">
                </el-table-column>
                <el-table-column prop="total" label="总价" width="120" align="center">
                </el-table-column>
                <el-table-column label="操作" width="180" align="center">
                    <template slot-scope="scope">
                        <el-button @click.native.prevent="deleteGoods(scope.$index)" size="mini" type="danger"> 移除</el-button>
                    </template>
                </el-table-column>
            </el-table>
        </div>

        <!--提交按钮-->
        <div  style="padding: 10px;padding-left: 45%">
            <el-button type="primary" size="small" icon="el-icon-sold-out" @click="saveOrUpdate">下单</el-button>
            <el-button type="default" size="small" icon="el-icon-back" @click="reload">返回</el-button>
        </div>

    </div>
    <!--客户选择dialog-->
    <el-dialog title="选择客户" :visible.sync="userDialogVisible" >
                <el-row :gutter="20">
                    <el-col :offset="2" :span="2"><strong>客户名称</strong>
                    </el-col>
                    <el-col :span="5" >
                      <el-input  v-model.trim="q.name"  placeholder="请选择客户" @keyup.enter.native="queryUser"  size="small" ></el-input>
                    </el-col>
                    <el-col :span="5" >
                        <el-button  type="primary" size="small" icon="el-icon-search"  @click="queryUser">查询</el-button>
                    </el-col>
                </el-row>
        <el-table :data="userInfoData"
                  border
                  @row-dblclick="selectUser"
                  :header-cell-style="{'text-align':'center'}"
                  :cell-style="{'text-align':'center'}"
        >
            <el-table-column property="userId" label="用户id" width="100"></el-table-column>
            <el-table-column property="name" label="姓名" width="150"></el-table-column>
            <el-table-column property="nickname" label="联系人" width="150"></el-table-column>
            <el-table-column property="mobile" label="手机" width="150"></el-table-column>
            <el-table-column property="address" label="地址" width="200"></el-table-column>
            <el-table-column property="hangsAccountCustomer" label="挂账客户" width="150" :formatter="formatterAccountCustomer"></el-table-column>
        </el-table>
    </el-dialog>

    <!-- 原文件下载列表 -->
    <el-dialog title="文件下载" :visible.sync="itemSourceFileTableVisible" width= "40%" >
        <el-table :data="itemFile.itemSourceFiles" size="small">
            <el-table-column v-if="false" property="id" label="文件ID"></el-table-column>
            <el-table-column property="name" label="文件名"></el-table-column>
            <el-table-column property="size" label="文件大小"></el-table-column>
            <el-table-column label="操作">
                <template slot-scope="scope">
                    <el-row>
                        <el-button type="text" @click="itemSourceFileDownload(scope.row)" size="mini" icon="el-icon-download">下载</el-button>
                        <el-button type="text" @click="itemSourceFileDelete(scope.row)" size="mini" icon="el-icon-delete">删除</el-button>
                    </el-row>
                </template>
            </el-table-column>
        </el-table>
    </el-dialog>
    <!--一键分配标品dialog-->
    <el-dialog :title="itemName + '（工厂报价列表）'" :visible.sync="itemAllotPageVisible"  >
        <el-form :inline="true" class="demo-form-inline" size="small">
            <el-form-item label="工厂名称：">
                <el-input v-model="q.factoryName"></el-input>
            </el-form-item>
            <el-form-item>
                <el-button type="primary" @click="queryFactoryStandard">查询</el-button>
            </el-form-item>
        </el-form>
        <el-table tooltip-effect="dark" :data="factoryStandardInfosQuery" size="small">
            <el-table-column type="index" label="序号"></el-table-column>
            <el-table-column prop="sellerDetail.merchantName" label="印刷厂"></el-table-column>
            <el-table-column prop="sellerDetail.mobile" label="联系方式"></el-table-column>
            <el-table-column prop="sellerDetail.qq" label="QQ"></el-table-column>
            <el-table-column label="配送范围">
                <template slot-scope="scope">
                    全国
                </template>
            </el-table-column>
            <el-table-column  label="推荐工序">
                <template slot-scope="scope">
                    名片，拼版不干胶
                </template>
            </el-table-column>
            <el-table-column label="价格">
                <template slot-scope="scope">
                    <span style="color: red">￥{{scope.row.basePriceDetail.totalPrice}}</span>
                </template>
            </el-table-column>
            <el-table-column label="操作" width="100">
                <template slot-scope="scope">
                    <el-button type="text" size="small" @click="itemAllotSave(scope.row)">分配</el-button>
                </template>
            </el-table-column>
        </el-table>
    </el-dialog>

    <!-- 报价商品 start -->
    <el-dialog :title="itemName + '（工厂报价列表）'" :visible.sync="quoteItemAllotPageVisible"   width="70%">
        <el-form :inline="true" class="demo-form-inline" size="small">
            <el-form-item label="工厂地址：">
                <el-input v-model="q.factoryAddr"></el-input>
            </el-form-item>
            <el-form-item label="工厂名称：">
                <el-input v-model="q.factoryName"></el-input>
            </el-form-item>
            <el-form-item>
                <el-button type="primary" @click="searchFactory">查询</el-button>
            </el-form-item>
        </el-form>

        <el-table tooltip-effect="dark" :data="factoryQuoteInfosQuery" size="small"  border>
            <el-table-column type="index" label="序号"></el-table-column>
            <el-table-column prop="factoryInfoVO.factoryName" label="印刷厂"></el-table-column>
            <el-table-column label="联系方式及地址">
                <template slot-scope="scope">
                    姓名：{{scope.row.factoryInfoVO.contacts}}
                    <br/>
                    联系方式：{{scope.row.factoryInfoVO.contactWay}}
                    <br/>
                    联系地址：{{scope.row.factoryInfoVO.address}}
                </template>
            </el-table-column>
            <el-table-column  prop="factoryInfoVO.qq" label="QQ"></el-table-column>
            <el-table-column  label="配送范围">
                <template slot-scope="scope">
                    全国
                </template>
            </el-table-column>
            <el-table-column  label="推荐工序">
                <template slot-scope="scope">
                    名片，拼版不干胶
                </template>
            </el-table-column>
            <el-table-column  prop="totalPrice" label="价格">
                <template slot-scope="scope">
                    <span style="color: red">￥{{scope.row.totalPrice}}</span>
                </template>
            </el-table-column>
            <el-table-column label="操作" width="100">
                <template slot-scope="scope">
                    <el-button type="text" size="small" @click="quoteItemAllotSave(scope.row)">分配</el-button>
                </template>
            </el-table-column>
        </el-table>

    </el-dialog>
    <!-- 报价商品 end -->

    <!--订单备注dialog-->
    <el-dialog
            title="新增订单备注"
            :visible.sync="remarksVisible"
            width="20%"
           >
        <div>
            <el-input disabled v-model="orderRemarks.orOrderId">
                <template slot="prepend">订单号：</template>
            </el-input>
        </div>
        <div style="margin-top: 10px">
            备注：
            <el-input v-model="orderRemarks.orRemarks"  :rows="2" type="textarea" autosize>
            </el-input>
        </div>
        <span slot="footer" class="dialog-footer">
    <el-button type="primary" @click="addRemark">确 定</el-button>
  </span>
    </el-dialog>
    <!--收银结算dialog-->
    <el-dialog title="收款" width="900px" :visible.sync="receviceMoneyVisible">
        <el-form :model="recMoney">
            <el-row>
                <el-col :span="8">
                    <el-form-item label="订单号" :label-width="formLabelWidth">
                        <el-input v-model="recMoney.orderNo" autocomplete="off" size="small" disabled></el-input>
                    </el-form-item>
                </el-col>
                    <el-col :span="8">
                        <el-form-item label="客户名称" :label-width="formLabelWidth">
                            <el-input v-model="recMoney.memberName" autocomplete="off" size="small" disabled></el-input>
                        </el-form-item>
                </el-col>
            </el-row>
            <el-row>
                <el-col :span="8">
                        <el-form-item label="订单总额" :label-width="formLabelWidth">
                            <el-input v-model="recMoney.totalMount" autocomplete="off" size="small" disabled></el-input>
                        </el-form-item>
                </el-col>
                <el-col :span="8">
                        <el-form-item label="已付金额" :label-width="formLabelWidth">
                            <el-input v-model="recMoney.payed" autocomplete="off" size="small" disabled></el-input>
                        </el-form-item>
                </el-col>
                <el-col :span="8">
                    <el-form-item label="客户余额" :label-width="formLabelWidth">
                        <el-input v-model="recMoney.advance" autocomplete="off" size="small" disabled></el-input>
                    </el-form-item>
                </el-col>
            </el-row>
            <el-row>
                <el-col :span="8">
                <el-form-item label="收款金额" :label-width="formLabelWidth">
                    <el-input v-model="recMoney.money" autocomplete="off" size="small"></el-input>
                </el-form-item>
                </el-col>
                <el-col :span="8">
                    <el-form-item label="收款方式" :label-width="formLabelWidth">
                        <el-select   filterable  v-model="recMoney.payName" ref="payTypeRef"  @change="payTypeChange" placeholder="请选择收款方式" size="small">
                            <el-option
                                    v-for="item in e.payTypeEnum"
                                    :key="item.describe"
                                    :label="item.describe"
                                    :value="item.describe">
                            </el-option>
                        </el-select>
                    </el-form-item>
                </el-col>
                <el-col :span="8">
                    <el-form-item label="会员折扣" :label-width="formLabelWidth">
                        <el-input v-model="recMoney.discountRate" autocomplete="off" size="small" disabled></el-input>
                    </el-form-item>
                </el-col>
            </el-row>
            <el-row>
                <el-col :span="8">
                    <el-form-item label="优惠金额" :label-width="formLabelWidth" size="small">
                        <el-input v-model="recMoney.totalDiscount" autocomplete="off" disabled></el-input>
                    </el-form-item>
                </el-col>
                <el-col :span="8">
                    <el-form-item label="调价" :label-width="formLabelWidth" size="small">
                        <el-input v-model="recMoney.discount" autocomplete="off" disabled></el-input>
                    </el-form-item>
                </el-col>
                <el-col :span="8">
                    <el-form-item label="优惠原因" :label-width="formLabelWidth" size="small">
                        <el-input v-model="recMoney.memo" autocomplete="off"></el-input>
                    </el-form-item>
                </el-col>
            </el-row>
            <el-row>
                <el-col :span="16" v-show="recMoney.payName =='扫码支付'">
                    <el-form-item label="串码" :label-width="formLabelWidth" size="small">
                        <el-input v-model="recMoney.serialCode" clearable ref="serialCodeRef" @change="serialCodeChange" autocomplete="off" ></el-input>
                    </el-form-item>
                </el-col>
            </el-row>
        </el-form>
        <div slot="footer" class="dialog-footer">
            <el-button @click="cancelReceviceMoney" size="small">取 消</el-button>
            <el-button type="primary" @click="saveReceiveMoney" size="small">确 定</el-button>
        </div>
    </el-dialog>

    <!--收银结算dialog-->
    <el-dialog title="批量收款" width="900px" :visible.sync="batchRecMoneyVisible">
        <el-form :model="batchRecMoney">
            <el-row>
                <el-col :span="8">
                    <el-form-item label="客户名称" :label-width="formLabelWidth">
                        <span>{{batchRecMoney.memberName}}</span>
                    </el-form-item>
                </el-col>
                <el-col :span="8">
                    <el-form-item label="订单总额" :label-width="formLabelWidth">
                        <span>{{batchRecMoney.total}}</span>
                    </el-form-item>
                </el-col>
                <el-col :span="8">
                    <el-form-item label="已付金额" :label-width="formLabelWidth">
                        <span>{{batchRecMoney.payedAmount}}</span>
                    </el-form-item>
                </el-col>
            </el-row>
            <el-row>


                <el-col :span="8">
                    <el-form-item label="客户余额" :label-width="formLabelWidth">
                        <span>{{batchRecMoney.advance}}</span>
                    </el-form-item>
                </el-col>

                <el-col :span="8">
                    <el-form-item label="收款方式" :label-width="formLabelWidth">
                        <el-select   filterable  v-model="batchRecMoney.payName" ref="batchPayTypeRef"  @change="payTypeChange" placeholder="请选择收款方式" size="small">
                            <el-option
                                    v-for="item in e.payTypeEnum"
                                    :key="item.describe"
                                    :label="item.describe"
                                    :value="item.describe">
                            </el-option>
                        </el-select>
                    </el-form-item>
                </el-col>

                <el-col :span="8">
                    <el-form-item label="收款金额" :label-width="formLabelWidth">
                        <span>{{ batchRecMoney.money}}</span>
                    </el-form-item>
                </el-col>
            </el-row>

            <el-row>
                <el-col :span="16" v-show="batchRecMoney.payName =='扫码支付'">
                    <el-form-item label="串码" :label-width="formLabelWidth" size="small">
                        <el-input v-model="batchRecMoney.serialCode" clearable ref="batchSerialCodeRef" @change="batchSerialCodeChange" autocomplete="off" ></el-input>
                    </el-form-item>
                </el-col>
            </el-row>
        </el-form>
        <div slot="footer" class="dialog-footer">
            <el-button @click="batchRecMoneyVisible=false" size="small">取 消</el-button>
            <el-button type="primary" @click="saveBatchReceiveMoney" size="small">确 定</el-button>
        </div>
    </el-dialog>

    <!--商务印刷销售价格展示-->
    <el-dialog
            title="销售价格"
            :visible.sync="quotePriceDialogVisible"
            width="40%"
            center>
        <template>
            <div style="text-align: center">

                <el-radio  style="height: auto" v-for="(factoryQuoteInfo, index) in factoryQuoteInfoList" border v-model="printIndex" :label="index" @change="selectPrintGoods(index)">
                    <div>{{factoryQuoteInfo.quantity}}本</div>
                    <div style="margin-top: 5px">{{factoryQuoteInfo.unitPrice}}/本</div>
                    <div style="margin-top: 5px">{{factoryQuoteInfo.totalPrice}}元</div>
                </el-radio>
            </div>
            <div style="margin-top: 30px ;text-align: center"> 销售金额：<el-input placeholder="输入销售金额" v-model="printMoney" style="width:180px" clearable size="small"> </el-input></div>
        </template>
        <span slot="footer" class="dialog-footer">
    <el-button type="primary" @click="addPrintGoods" size="small">确 定</el-button>
  </span>
    </el-dialog>

    <!--快印印刷销售价格展示-->
    <el-dialog
            title="销售价格"
            :visible.sync="fastQuotePriceDialogVisible"
            width="20%"
            center>
        <template>
            <div style="text-align: center">

                <el-radio  style="height: auto" v-for="(fastFactoryQuoteInfo, index) in fastFactoryQuoteInfoList" border v-model="fastIndex" :label="index" @change="selectPrintGoods(index)">
                    <div>{{fastFactoryQuoteInfo.quantity}}本</div>
                    <div style="margin-top: 5px">{{fastFactoryQuoteInfo.unitPrice}}/本</div>
                    <div style="margin-top: 5px">{{fastFactoryQuoteInfo.totalPrice}}元</div>
                </el-radio>
            </div>
            <div style="margin-top: 30px ;text-align: center"> 销售金额：<el-input placeholder="输入销售金额" v-model="fastMoney" style="width:180px" clearable size="small"> </el-input></div>
        </template>
        <span slot="footer" class="dialog-footer">
    <el-button type="primary" @click="addFastGoods" size="small">确 定</el-button>
  </span>
    </el-dialog>
    <!--取消订单dialog-->
    <el-dialog
            title="取消订单"
            :visible.sync="cancelOrderVisible"
            width="20%"
    >
        <div>
            <el-input disabled v-model="erpOrderLogs.orderNo">
                <template slot="prepend">订单号：</template>
            </el-input>
        </div>
        <div style="margin-top: 10px">
            取消原因：
            <el-input v-model="erpOrderLogs.logText"  :rows="2" type="textarea" autosize>
            </el-input>
        </div>
        <span slot="footer" class="dialog-footer">
    <el-button type="primary" @click="cancelOrder">确 定</el-button>
  </span>

    </el-dialog>

    <!--制作要求dialog-->
    <el-dialog
            title="制作要求"
            :visible.sync="productRequestDialogVisible"
            width="20%"
    >
        <div>
            <el-input disabled  v-model="erpOrder.orderNo">
                <template slot="prepend">订单号：</template>
            </el-input>
        </div>
        <div style="margin-top: 10px">
            制作要求：
            <el-input  :rows="4" type="textarea" autosize v-model="erpOrder.productionRequest">
            </el-input>
        </div>
        <span slot="footer" class="dialog-footer">
        <el-button type="primary" @click="addprodRequest">确 定</el-button>
        </span>
    </el-dialog>
    <!--支付方式修改dialog-->
    <el-dialog title="支付方式修改" :visible.sync="paymentChangeVisible" width="20%">
        <el-form >
            <el-form-item label="订单号" :label-width="formLabelWidth">
                <el-input v-model="erpOrder.orderNo" size="small" disabled autocomplete="off"></el-input>
            </el-form-item>
            <el-form-item label="当前支付方式" :label-width="formLabelWidth">
                <el-input v-model="erpOrderPayNow" size="small" disabled autocomplete="off"></el-input>
            </el-form-item>
            <el-form-item label="修改为" :label-width="formLabelWidth">
                <el-select v-model="erpOrder.payment" placeholder="请选择" size="small" >
                    <el-option
                            v-for="item in  payTypeData"
                            :key="item"
                            :label="item"
                            :value="item">
                    </el-option>
                </el-select>
            </el-form-item>
        </el-form>
        <div slot="footer" class="dialog-footer">
            <el-button type="primary" size="small" @click="updatePayType">确 定</el-button>
        </div>
    </el-dialog>

    <!--订单日志dialog-->
    <el-dialog title="订单日志" :visible.sync="erpOrderLogVisible">
        <el-table :data="erpOrderLogData">
            <el-table-column type="index" label="序号" width="50"></el-table-column>
            <el-table-column property="createTime" label="日期" width="150"></el-table-column>
            <el-table-column property="createName" label="操作人" width="200"></el-table-column>
            <el-table-column property="logText" label="操作内容"></el-table-column>
        </el-table>
    </el-dialog>

    <!-- 添加外协 start -->
    <el-dialog title="添加工艺" :visible.sync="suppFormVisible" width= "30%" append-to-body>
        <el-form :model="suppForm" size="medium">
            <el-form-item label="工艺：" label-width="120px">
                <el-input v-model="suppForm.attributeName" auto-complete="off"></el-input>
            </el-form-item>

            <el-form-item label="费用：" label-width="120px">
                <el-input-number  v-model="suppForm.cost"    :min="0" :max="999999" label="费用"></el-input-number><span> 元</span>
            </el-form-item>

            <el-form-item label="备注：" label-width="120px">
                <el-input v-model="suppForm.csRemark" auto-complete="off"></el-input>
            </el-form-item>
        </el-form>
        <div slot="footer" class="dialog-footer">
            <el-button size="small" @click="suppFormVisible = false">取 消</el-button>
            <el-button size="small" type="primary" @click="suppFormSave">确 定</el-button>
        </div>
    </el-dialog>
    <!-- 添加外协 end -->

    <!-- 外协商 start -->
    <el-dialog title="选择外协商" :visible.sync="supplierPageVisible" width= "30%">
        <el-row>
            <el-form :inline="true" class="demo-form-inline" size="mini">
                <el-form-item label="名称：">
                    <el-input v-model="supplierQuery.supplierName"></el-input>
                </el-form-item>
                <el-form-item>
                    <el-button type="primary" @click="querySupplierPageList">查询</el-button>
                </el-form-item>
            </el-form>
        </el-row>
        <el-row>
            <el-table :data="supplierPage.tableData" size="mini">
                <el-table-column  prop="supplierName" label="供应商"></el-table-column>
                <el-table-column label="操作" width="100px">
                    <template slot-scope="scope">
                        <el-button @click="suppFormCheck(scope.row)" type="text" size="mini">选择</el-button>
                    </template>
                </el-table-column>
            </el-table>
        </el-row>
        <el-row>
            <el-pagination
                    @size-change="handleSizeChange"
                    @current-change="handleCurrentChange"
                    :current-page="1"
                    :page-size="supplierPage.pageSize"
                    small
                    layout="prev, pager, next"
                    :total="supplierPage.totalCount">
            </el-pagination>
        </el-row>
    </el-dialog>
    <!-- 外协商 end -->

    <!--
    <!--打印生产单-->
    <div class="product" id="printProduct" style="display: none;">
        <div class="product_center">
            <header>
                生产单<svg id="code128"></svg>
            </header>
            <div class="content">
                <div class="content_product">
                    <p>
                        <label for="">业务单号：</label>
                        <span>{{erpOrder.orderNo}}</span>
                    </p>
                    <p>
                        <label for="">接单时间：</label>
                        <span>{{erpOrder.createTime}}</span>
                    </p>
                </div>
                <div class="content_product">
                    <p>
                        <label for="">客户名称：</label>
                        <span>{{erpOrder.memberName}}</span>
                    </p>
                    <p>
                        <label for="">送货方式：</label>
                        <span v-if="erpOrder.sendType  == 0">非自提</span>
                        <span v-if="erpOrder.sendType  == 1">自提</span>
                        <span v-if="erpOrder.sendType  == 2">送货</span>
                    </p>
                </div>

                <div class="content_product">
                    <p>
                        <label for="">联系人：</label>
                        <span>{{erpOrder.shipName}}</span>
                    </p>
                    <p>
                        <label for="">联系电话：</label>
                        <span v-if="erpOrder.shipMobile!=null">{{erpOrder.shipMobile}}</span>
                        <span v-else>{{erpOrder.shipTel}}</span>
                    </p>
                </div>
                <div class="content_product content_address">
                    <p>
                        <label for="">客户地址：</label>
                        <span>{{erpOrder.shipArea}}{{erpOrder.shipAddr}}</span>
                    </p>

                </div>
            </div>
            <div class="content_product">
                <p>
                    {{erpOrder.projectName}}
                </p>
            </div>
            <div class="product_name">
                <table>
                    <thead>
                    <tr>
                        <td>产品名称</td>
                        <td>规格/尺寸/材质/工艺</td>
                        <td>数量</td>
                        <td>总价</td>
                    </tr>
                    </thead>
                    <tbody>

                    <tr v-for="orderItem in orderItemDetailData" >
                        <td>{{orderItem.name}}</td>
                        <td>{{orderItem.addon}}</td>
                        <td>{{orderItem.nums}}</td>
                        <td>{{orderItem.amount}}</td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <!--循环展示部件算价过程-->
            <div v-for="orderItem in orderItemDetailData">
                <h3 class="quick" v-if="orderItem.productInfoParamList!=null">{{orderItem.name}}</h3>
                <div class="product_quick" v-if="orderItem.productInfoParamList!=null">
                    <table>
                        <thead>
                        <tr>
                            <td>部件</td>
                            <td>尺寸</td>
                            <td>数量</td>
                            <td>单价</td>
                            <td>起步价</td>
                            <td>工艺</td>
                        </tr>
                        </thead>
                        <tbody>
                        <tr v-for="productInfoParam in orderItem.productInfoParamList">
                            <td>{{productInfoParam.partsName}}</td>
                            <td>
                                 <span v-if="orderItem.cutModelObj[productInfoParam.partsId] !=null">
                                    {{orderItem.cutModelObj[productInfoParam.partsId].paperLength}}*
                                    {{orderItem.cutModelObj[productInfoParam.partsId].paperWide}}
                                </span>
                            </td>
                            <td>
                                <span v-if="orderItem.cutModelObj[productInfoParam.partsId] !=null">
                                         {{orderItem.cutModelObj[productInfoParam.partsId].printNums[0]}}
                                </span>
                            </td>
                            <td>
                                <span v-if="orderItem.cutModelObj[productInfoParam.partsId] !=null">
                                   {{orderItem.cutModelObj[productInfoParam.partsId].unitPrice}}
                               </span>
                            </td>
                            <td>
                                <span v-if="orderItem.cutModelObj[productInfoParam.partsId] !=null">
                                   {{orderItem.cutModelObj[productInfoParam.partsId].startPrice}}
                                </span>
                            </td>
                            <td>
                                 <span v-for="craft in productInfoParam.craftParam">
                                    {{craft}}
                                </span>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
            <!-- 制作要求 -->
            <div class="require">
                <label for="">
                    备注：
                </label>
                <span>{{erpOrder.memo}}</span>
            </div>
            <div class="require_detail">
                <p>
                    <label for="">输出人：</label>
                    <span></span>
                </p>
                <p>
                    <label for="">打印人：</label>
                    <span></span>
                </p>
                <p>
                    <label for="">后道工序：</label>
                    <span></span>
                </p>
                <p>
                    <label for="">制单人：</label>
                    <span>{{erpOrder.acceptOrderUser}}</span>
                </p>
                <p>
                    <label for="">审核人：</label>
                    <span></span>
                </p>
            </div>
        </div>
    </div>
    <!--打印结算单-->
    <div id="printBalance" style="display: none;">
        <!--startprint-->
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tbody>
            <tr>
                <td width="33%"> </td>
                <td  align="center">
                    <p style="font-size: 3em;margin: 0 0 0;">结算清单</p>
                </td>
                <td width="33%" align="right" style="margin-right: 10px">
                    <el-aside style="border: 10px solid #eee;width:140px;text-align: center;" >
                        <div id="qrcode" style="display: none"></div>
                        <img id="image" src="" />
                    </el-aside>
                </td>
            </tr>
            </tbody>
        </table>
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tbody>
            <tr>
                <td width="30%">&nbsp;&nbsp;&nbsp;&nbsp;业务单号：{{erpOrder.orderNo}}</td>
                <td width="30%"></td>
                <td colspan=2>接单时间：{{erpOrder.createTime}}</td>
            </tr>
            <tr>
                <td width="60%" colspan=2>&nbsp;&nbsp;&nbsp;&nbsp;客户名称：{{erpOrder.memberName}}</td>
                <td>发票号码： </td>
                <td></td>
            </tr>
            <tr>
                <td width="30%">&nbsp;&nbsp;&nbsp;&nbsp;联系人:{{erpOrder.shipName}}</td>
                <td width="30%">联系电话：
                    <span v-if="erpOrder.shipMobile!=null">{{erpOrder.shipMobile}}</span>
                    <span v-else>{{erpOrder.shipTel}}</span>
                </td>
                <td>项目名称：{{erpOrder.projectName}}</td>
            </tr>
            <tr>
                <td width="30%">&nbsp;&nbsp;&nbsp;&nbsp;付款方式：{{erpOrder.payment}}
                </td>
                <td width="30%">预存款余额：{{erpOrder.advance}}</td>
                <td>送货方式：
                    <span v-if="erpOrder.sendType  == 0">配送</span>
                    <span v-if="erpOrder.sendType  == 1">自取</span>
                    <span v-if="erpOrder.sendType  == 2">送货</span>
                </td>
            </tr>
            <tr>
                <td width="30%">&nbsp;&nbsp;&nbsp;&nbsp;备注：{{erpOrder.memo}}</td>
                <td width="30%">网址：http://www.11ziyun.com</td>
                <td>送货地址：{{erpOrder.shipArea}}{{erpOrder.shipAddr}}</td>
            </tr>
            </tbody>
        </table>
        <table width="100%" border="1" align="center" cellpadding="0" cellspacing="0">
            <thead>
            <tr >
                <td width="20%" height="10px" align="center">产品名称</td>
                <td width="30%" align="center" colspan=3>规格/尺寸/材质/工艺</td>
                <td width="10%" align="center">数量</td>
                <td width="10%" align="center">单价</td>
                <td width="10%" align="center">总价</td>
            </tr>
            </thead>
            <tbody>
            <tr v-for="(item,index) in orderItemDetailData" :key="index">
                <td align="center" height="10px">{{item.name}}</td>
                <td align="center" colspan=3>{{item.addon}}</td>
                <td align="center">{{count || item.nums}}</td>
                <td align="center">{{item.price}}</td>
                <td align="center">{{item.amount}}</td>
            </tr>

            <tr>
                <td width="20%"align="center">余额：</td>
                <td width="10%" colspan=4 align="center">合计应收金额：{{erpOrder.payableAmount}}</td>
                <td width="10%" colspan=2 align="center">优惠金额：{{erpOrder.pmtGoods}}</td>
            </tr>

            </tbody>
        </table>
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tbody>
            <tr>
                <td width="60%" colspan=2>操作人:{{courrentUser.username}}&nbsp;{{sellerInfoEntity.doorheadName}}</td>
                <td width="20%">签收时间:</td>
                <td>客户签名:</td>
            </tr>
            </tbody>
        </table>
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tbody>
            <tr>
                <td width="80%" colspan=3>地址:{{sellerInfoEntity.area}}{{sellerInfoEntity.addr}}</td>
                <td>电话:{{sellerInfoEntity.sellerMobile}}</td>
            </tr>
            </tbody>
        </table>
        <!--endprint-->
    </div>
    <!--打印送货单-->
    <div id="printGoods" style="display: none;">
        <div id="printbox">

            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="33%">
                    </td>
                    <td width="33%" align="center">
                        <h1 style="font-size: 3em;">送 货 单</h1>
                    </td>
                    <td align="right" v-model="print.orderInfo.orderId">NO.{{print.orderInfo.orderId}}</td>
                </tr>
            </table>
            <br>
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="45%">客户名称：{{print.orderInfo.shipName}}</td>
                    <td width="33%">业务员：{{print.orderInfo.merchantsSalesMan}}</td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <!--<td>客户地址：{{erpOrder.shipArea}}{{erpOrder.shipAddr}}</td>-->
                    <td width="45%">联系电话：{{print.orderInfo.shipMobile}}</td>
                    <td width="33%">日期：{{print.orderInfo.paymentTime}}</td>
                    <td>&nbsp;</td>
                </tr>
                <tr><td colspan="3">客户地址：{{print.orderInfo.shipArea}}{{print.orderInfo.shipAddr}}</td></tr>
            </table>
            <br>
            <table width="100%" border="1" align="center" cellpadding="0" cellspacing="0">
                <tr class="table_data_title">
                    <td align="center">序号</td>
                    <td>产品名称</td>
                    <td>规格</td>
                    <td>生产工艺</td>
                    <td align="center">单位</td>
                    <td align="center">款式数量</td>
                    <td align="center">原价</td>
                    <td align="center">现价</td>
                    <td align="center">小计</td>
                </tr>
                <tr v-for="(orderItem,index) of print.orderItemList">
                    <td align="center">{{index + 1}}</td>
                    <td align="center">{{orderItem.name}}</td>
                    <td align="center">{{orderItem.addon}}</td>
                    <td align="center">{{orderItem.craftsNames}}</td>
                    <td align="center">{{orderItem.paperUnit}}</td>
                    <td align="center">{{orderItem.nums}}</td>
                    <td align="center">￥{{orderItem.price}}</td>
                    <td align="center">￥{{orderItem.price}}</td>
                    <td align="center">￥{{orderItem.amount}}</td>
                </tr>
                <tr>
                    <td colspan="9"> 运费：￥{{print.orderInfo.costFreight}}&nbsp;&nbsp;&nbsp;&nbsp;订单减免：￥{{print.orderInfo.discount}}
                        &nbsp;&nbsp;&nbsp;&nbsp;随机立减：￥{{print.orderInfo.pmtRandom}}
                    </td>
                </tr>
                <tr>
                    <td colspan="8">合计（大写）：{{smalltoBIG(print.orderInfo.payableAmount)}}</td>
                    <td align="center">￥{{print.orderInfo.payableAmount}}</td>
                </tr>
            </table>
            <br>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="10%">备注：</td>
                    <td>是否带发票：
                        <span v-if="erpOrder.sendTax==1">带发票</span>
                        <span v-else>不带发票</span>
                    </td>
                </tr>
            </table>
            <br>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="50%">送货人：</td>
                    <td width="50%">客户签章：</td>
                </tr>
            </table>
        </div>
    </div>

    <!--打印批量结算单-->
    <div id="batchBalance" style="display: none;">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td width="33%" align="left" style="margin-right: 10px">
            </td>
            <td  align="center">
                <p style="font-size: 3em;margin: 0 0 0;">批量结算清单</p>
            </td>
            <td width="33%" align="right" style="margin-right: 10px">
                <el-aside style="border: 10px solid #eee;width:140px;text-align: center;" >
                    <div id="batchCode" style="display: none"></div>
                    <img id="batchImage" src="" />
                </el-aside>
            </td>
        </tr>
    </table>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tbody>
            <tr>
                <td width="30%" >&nbsp;&nbsp;&nbsp;&nbsp;客户名称：{{batchProduct.erpOrder.memberName}}</td>
                <td width="30%">&nbsp;&nbsp;&nbsp;&nbsp;联系人:{{batchProduct.erpOrder.shipName}}</td>

                <td width="30%">联系电话：
                    <span v-if="erpOrder.shipMobile!=null">{{batchProduct.erpOrder.shipMobile}}</span>
                    <span v-else>{{batchProduct.erpOrder.shipTel}}</span>
                </td>
            </tr>
            <tr>
            </tr>
            <tr>
                <td width="30%">&nbsp;&nbsp;&nbsp;&nbsp;网址：http://www.11ziyun.com</td>
                <td>&nbsp;&nbsp;&nbsp;&nbsp;送货地址：{{batchProduct.erpOrder.shipArea}}{{batchProduct.erpOrder.shipAddr}}</td>
            </tr>
            </tbody>
        </table>
    <table width="100%" border="1" align="center" cellpadding="0" cellspacing="0">
        <thead>
        <tr >
            <td width="20%" height="10px" align="center">订单号</td>
            <td width="20%" align="center">应付金额</td>
        </tr>
        </thead>
        <tbody>
        <tr v-for="(item,index) in batchProduct.recMoney" :key="index">
            <td align="center">{{item.orderNo}}</td>
            <td align="center">{{item.payAmount}}</td>
        </tr>
        </tbody>
    </table>
    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tbody>
        <tr>
            <td width="60%" colspan=2>操作人:{{courrentUser.username}}&nbsp;{{sellerInfoEntity.doorheadName}}</td>
            <td width="20%">签收时间:</td>
            <td>客户签名:</td>
        </tr>
        </tbody>
    </table>
    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tbody>
        <tr>
            <td width="80%" colspan=3>地址:{{sellerInfoEntity.area}}{{sellerInfoEntity.addr}}</td>
            <td>电话:{{sellerInfoEntity.sellerMobile}}</td>

        </tr>
        </tbody>
    </table>
    </div>

    <!-- 订单详情页面 -->
    <#include "/modules/order/erpOrderitemDetail.html">

    <!-- 工序分配页面 -->
</div>
<#include "/modules/order/erporderEdit.html">
<#include "/modules/order/erpOrderLogistic.html">
<#include "/modules/order/craftsAllot.html">

<script src="${request.contextPath}/statics/js/modules/order/erporder.js?_${.now?long}"></script>
</body>
</html>